/**
 * jims
 */
package com.jims.master.modules.finance.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.finance.dao.OutpAcctDetailDao;
import com.jims.master.modules.finance.entity.OutpAcctDetail;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Service
 * @author chentao
 * @version 2017-03-14
 */
@Service
@Transactional(readOnly = true)
public class OutpAcctDetailService extends CrudService<OutpAcctDetailDao, OutpAcctDetail> {

	public OutpAcctDetail get(String id) {
		return super.get(id);
	}
	
	public List<OutpAcctDetail> findList(OutpAcctDetail outpAcctDetail) {
		return super.findList(outpAcctDetail);
	}
	
	public Page<OutpAcctDetail> findPage(Page<OutpAcctDetail> page, OutpAcctDetail outpAcctDetail) {
		return super.findPage(page, outpAcctDetail);
	}
	
	@Transactional(readOnly = false)
	public int save(OutpAcctDetail outpAcctDetail) {
		return super.save(outpAcctDetail);
	}
	
	@Transactional(readOnly = false)
	public int delete(OutpAcctDetail outpAcctDetail) {
		return super.delete(outpAcctDetail);
	}
	
}